package com.irdstudio.rsp.rule.dao;

import java.util.List;

import com.irdstudio.rsp.rule.dao.domain.BizRuleAdapter;
import com.irdstudio.rsp.rule.service.vo.BizRuleAdapterVO;
/**
 * <p>DAO interface:业务规则适配				<p>
 * @author AutoCoder
 * @date 2019-10-30
 */
public interface BizRuleAdapterDao {
	
	public int insertBizRuleAdapter(BizRuleAdapter bizRuleAdapter);
	
	public int deleteByPk(BizRuleAdapter bizRuleAdapter);

	public int deleteByRuleTarget(BizRuleAdapter bizRuleAdapter);

	public int updateByPk(BizRuleAdapter bizRuleAdapter);
	
	public BizRuleAdapter queryByPk(BizRuleAdapter bizRuleAdapter);
	
	public List<BizRuleAdapter> queryAllOwnerByPage(BizRuleAdapterVO bizRuleAdapter);

	public List<BizRuleAdapter> queryAll(BizRuleAdapterVO bizRuleAdapter);
	public List<BizRuleAdapter> queryAllAdapter(BizRuleAdapterVO bizRuleAdapter);

	public List<BizRuleAdapter> queryAllCurrOrgByPage(BizRuleAdapterVO bizRuleAdapter);
	
	public List<BizRuleAdapter> queryAllCurrDownOrgByPage(BizRuleAdapterVO bizRuleAdapter);

}
